#preview-trigger {
    position: fixed;
    right: 15px;
    bottom: 8px;
    z-index: 1052;
    cursor: pointer;
    text-align: center;

    img {
        height: 70px;
    }
}

.preview-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;

    .vertical-middle-block-cell {
        width: 1024px;

        @media (min-width: 1800px) {
            & {
                width: 1280px;
            }
        }
    }

    #preview-phone {
        padding-left: 448px;

        .preview-title {
            font-size: 24px;
            color: #28a45e;
            margin-bottom: 12px;
        }

        .preview-desc {
            font-size: 18px;
            color: #333333;
            margin-bottom: 6px;
        }

        .preview-link {
            font-size: 18px;
            color: #ff0000;
            margin-bottom: 12px;
        }

        #previewPhoneQRCode {
            background-image: url("/Public/dist/Home/BookSettingPage/image/preview_qrcode_background.jpg");
            background-repeat: no-repeat;
            background-position: center center;
            width: 100%;
            height: 166px;
            position:relative;

            canvas {
                margin-top: 13px;
            }
            
            img {
				border-radius:8px;
				position: absolute;
				width: 48px;
				heigth: 48px;
                left:264px;
                top:60px;
                
                @media (min-width: 1800px) {
            & {
                left:392px;
            }
        }
            }
        }
        
        

        .preview-subtitle {
            padding-top: 26px;
            margin-top: 26px;
            border-top: 1px solid #c1c1c1;
        }

        .preview-share-media {
            border: 0px;
            width: 152px;
            height: 270px;
            overflow: hidden;
            cursor: pointer;
        }

        .preview-share-media-container {
            position: relative;

            .preview-share-action {
                position: absolute;
                left: 50%;
                margin-left: 100px;
                right: auto;
                top: auto;
                bottom: 32px;
            }

            .preview-share-action-item {
                width: 40px;
                height: 40px;
                background-repeat: no-repeat;
                background-position: center center;
                margin-top: 16px;
                cursor: pointer;
                border-radius: 50%;

                &:hover {
                    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
                }
            }

            .preview-share-action-wechat {
                background-image: url("/Public/dist/Home/BookSettingPage/image/ic_wechat.png");
            }

            .preview-share-action-qqzone {
                background-image: url("/Public/dist/Home/BookSettingPage/image/ic_qqzone.png");
            }

            .preview-share-action-weibo {
                background-image: url("/Public/dist/Home/BookSettingPage/image/ic_weibo.png");
            }
        }
    }

    .preview-phone-container {
        float: left;
        padding-top: 91px;
        padding-left: 1px;
        width: 400px;
        height: 645px;
        margin-left: -448px;
        background-position: center;
        background-attachment: fixed;
        margin-bottom: 0px;
        line-height: 0px;
        background: url("../image/iphone_background.png");
        background-repeat: no-repeat;
        padding-right: 48px;

        iframe {
            border: 0px;
            width: 343px;
            height: 550px;
        }
    }
}

#preview-container {
    .tooltipCanvasContainer {
        background: #fff;
        padding: 4px;
        width: 108px;
        height: 108px;
    }
    #preview-media-download {
        display: block;
        margin: 0 auto;
        height: auto;
        line-height: 1.5;
    }
    .preview-media-tip {
        font-size: 10px;
        font-size: 12px;
        color: #727272;
    }
}

iframe::-webkit-scrollbar {
    width: 0px;
}

iframe scrollbar[orient="vertical"] {
    width: 0px !important;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes flip {
    from {
        transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
        animation-timing-function: ease-out;
    }

    40% {
        transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
        animation-timing-function: ease-out;
    }

    50% {
        transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
        animation-timing-function: ease-in;
    }

    80% {
        transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
        animation-timing-function: ease-in;
    }

    to {
        transform: perspective(400px);
        animation-timing-function: ease-in;
    }
}

.animated.flip {
    backface-visibility: visible;
    animation-name: flip;
}

@-webkit-keyframes scaleInRightBottom {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes scaleInRightBottom {
    0% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

.scaleInRightBottom {
    transform-origin: right bottom;
    transform-origin: -moz-calc(100% - 15px) -moz-calc(100% - 8px);
    transform-origin: -webkit-calc(100% - 15px) -webkit-calc(100% - 8px);
    transform-origin: calc(100% - 15px) calc(100% - 8px);
    -webkit-animation-name: scaleInRightBottom;
    animation-name: scaleInRightBottom;
}

@-webkit-keyframes scaleOutRightBottom {
    0% {
        -webkit-transform: none;
        transform: none;
    }

    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

@keyframes scaleOutRightBottom {
    0% {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    100% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }
}

.scaleOutRightBottom {
    transform-origin: right bottom;
    transform-origin: -moz-calc(100% - 15px) -moz-calc(100% - 8px);
    transform-origin: -webkit-calc(100% - 15px) -webkit-calc(100% - 8px);
    transform-origin: calc(100% - 15px) calc(100% - 8px);
    -webkit-animation-name: scaleOutRightBottom;
    animation-name: scaleOutRightBottom;
}